

<!DOCTYPE html>
<html lang="en" color-mode=light>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>习武的个人博客</title>
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
  <meta name="google" content="notranslate" />
  
  
  <meta name="author" content="习武">
  <link rel="icon" href="/xiwu_see/images/icons/favicon-16x16.png" type="image/png" sizes="16x16">
  <link rel="icon" href="/xiwu_see/images/icons/favicon-32x32.png" type="image/png" sizes="32x32">
  <link rel="apple-touch-icon" href="/xiwu_see/images/icons/apple-touch-icon.png" sizes="180x180">
  <meta rel="mask-icon" href="/xiwu_see/images/icons/stun-logo.svg" color="#333333">
  
    <meta rel="msapplication-TileImage" content="/xiwu_see/images/icons/favicon-144x144.jpeg">
    <meta rel="msapplication-TileColor" content="#000000">
  

  
<link rel="stylesheet" href="/xiwu_see/css/style.css">


  
    
<link rel="stylesheet" href="//at.alicdn.com/t/font_1445822_s6x2xcokxrl.css">

  

  
    
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.css">

  

  
    
      
        
        
<link rel="stylesheet" href="https://cdn.bootcss.com/highlight.js/9.18.1/styles/xcode.min.css" name="highlight-style" mode="light">

      
        
        
<link rel="stylesheet" href="https://cdn.bootcss.com/highlight.js/9.18.1/styles/solarized-dark.min.css" name="highlight-style" mode="dark">

      
  

  <script>
    var CONFIG = window.CONFIG || {};
    var ZHAOO = window.ZHAOO || {};
    CONFIG = {
      isHome: true,
      fancybox: true,
      pjax: false,
      lazyload: {
        enable: true,
        only_post: 'false',
        loading: '/xiwu_see/images/theme/loading.gif'
      },
      donate: {
        enable: false,
        alipay: 'https://pic.izhaoo.com/alipay.jpg',
        wechat: 'https://pic.izhaoo.com/wechat.jpg'
      },
      galleries: {
        enable: true
      },
      fab: {
        enable: true,
        always_show: false
      },
      carrier: {
        enable: true
      },
      daovoice: {
        enable: false
      },
      preview: {
        background: {
          default: '/xiwu_see/images/theme/welcome-image.jpg',
          api: ''
        },
        motto: {
          default: '我在开了灯的床头下，想问问自己的心啊。',
          api: 'https://v2.jinrishici.com/one.json',
          data_contents: '["data","content"]'
        },
      },
      qrcode: {
        enable: false,
        type: 'url',
        image: 'https://pic.izhaoo.com/weapp-code.jpg',
      },
      toc: {
        enable: true
      },
      scrollbar: {
        model: 'simple'
      },
      notification: {
        enable: false,
        delay: 4500,
        list: '',
        page_white_list: '',
        page_black_list: ''
      }
    }
  </script>

  

  

<meta name="generator" content="Hexo 5.3.0"></head>

<body class="lock-screen">
  <div class="loading"></div>
  


  

<nav class="menu">
  <div class="menu-wrap">
    <div class="menu-close">
      <i class="iconfont iconbaseline-close-px"></i>
    </div>
    <ul class="menu-content"><li class="menu-item">
        <a href="/xiwu_see/ " class="underline "> 首页</a>
      </li><li class="menu-item">
        <a href="/xiwu_see/archives/ " class="underline "> 归档</a>
      </li><li class="menu-item">
        <a href="/xiwu_see/tags/ " class="underline "> 标签</a>
      </li><li class="menu-item">
        <a href="/xiwu_see/categories/ " class="underline "> 分类</a>
      </li><li class="menu-item">
        <a href="/xiwu_see/about/ " class="underline "> 关于</a>
      </li></ul>
    
      <div class="menu-copyright"><p>Powered by <a target="_blank" href="https://hexo.io">习武</a>  |  Theme - <a target="_blank" href="https://xiwu123.gitee.io/xiwu_see">习武的个人博客</a></p></div>
    
  </div>
</nav>
  <main id="main">
  
    <div class="preview">
  <nav class="navbar j-navbar-menu">
    <i class="iconfont iconmenu"></i>
  </nav>
  <div class="preview-image">
    <h2 class="preview-motto" id="motto">我在开了灯的床头下，想问问自己的心啊。</h2>
    <!-- <span class="preview-cursor">|</span> -->
    
      <div class="preview-overlay">
        <svg class="preview-waves" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
          viewBox="0 24 150 28" preserveAspectRatio="none" shape-rendering="auto">
          <defs>
            <path id="gentle-wave" d="M-160 44c30 0 58-18 88-18s 58 18 88 18 58-18 88-18 58 18 88 18 v44h-352z" />
          </defs>
          <g class="preview-parallax">
            <use xlink:href="#gentle-wave" x="48" y="0" fill="rgba(var(--color-background-rgb),0.7"></use>
            <use xlink:href="#gentle-wave" x="48" y="3" fill="rgba(var(--color-background-rgb),0.5)"></use>
            <use xlink:href="#gentle-wave" x="48" y="5" fill="rgba(var(--color-background-rgb),0.3)"></use>
            <use xlink:href="#gentle-wave" x="48" y="7" fill="var(--color-background)"></use>
          </g>
        </svg>
      </div>
    
  </div>
  <div class="preview-scroll">
    <a href="#container" class="smooth-scroll"><i class="iconfont iconMouse"></i></a>
  </div>
</div>
  
  <div class="container" id="container">
    <section class="row post">
  
    

<div class="col-lg-4 col-md-6 col-sm-12 post-item">
  <div class="post-wrap">
    
    <a href="/xiwu_see/2019/07/05/iOS/pod%E7%BB%84%E4%BB%B6%E5%8C%96/" class="post-image">
      <img   class="lazyload" data-original="/xiwu_see/images/theme/theme-iOS-10.jpeg" src=""  draggable="false">
    </a>
    <div class="post-content">
      <div class="post-content-wrap">
        <h3 class="post-title"><a href="/xiwu_see/2019/07/05/iOS/pod%E7%BB%84%E4%BB%B6%E5%8C%96/" title="Cocoapods的组件化私有库" >Cocoapods的组件化私有库</a></h3>
        <div class="post-excerpt">
          <p class="substr-3">引言随着项目的越来越臃肿，那么需要对项目进行拆分进行模块化设置，而模块化则需要先把公共的部分都提取出来，构建成组件，做到一份组件各个模块共用，但是还需要做到可用可取消，这里就用到了Cocoapo...</p>
        </div>
      </div>
      <div class="post-info">
        <span class="post-info-item"><i class="iconfont iconcalendar"></i>July 05, 2019</span>
        
        <span class="post-info-item"><i class="iconfont iconfont-size"></i>6911</span>
      </div>
    </div>
  </div>
</div>

  
    

<div class="col-lg-4 col-md-6 col-sm-12 post-item">
  <div class="post-wrap">
    
    <a href="/xiwu_see/2019/06/26/iOS/%E7%BC%96%E8%AF%91%E4%BC%98%E5%8C%96/" class="post-image">
      <img   class="lazyload" data-original="/xiwu_see/images/theme/theme-iOS-2.jpeg" src=""  draggable="false">
    </a>
    <div class="post-content">
      <div class="post-content-wrap">
        <h3 class="post-title"><a href="/xiwu_see/2019/06/26/iOS/%E7%BC%96%E8%AF%91%E4%BC%98%E5%8C%96/" title="编译优化" >编译优化</a></h3>
        <div class="post-excerpt">
          <p class="substr-3">引言随着模块和代码量的增加，编译的效率会越来越低，有的多达几个小时，这时候需要考虑做编译优化：1.查找耗时文件和代码2.针对性文件和代码做优化(代码简化，减少宏定义，库二进制化等)3.项目结构组...</p>
        </div>
      </div>
      <div class="post-info">
        <span class="post-info-item"><i class="iconfont iconcalendar"></i>June 26, 2019</span>
        
        <span class="post-info-item"><i class="iconfont iconfont-size"></i>2363</span>
      </div>
    </div>
  </div>
</div>

  
    

<div class="col-lg-4 col-md-6 col-sm-12 post-item">
  <div class="post-wrap">
    
    <a href="/xiwu_see/2019/05/30/iOS/%E7%BD%91%E7%BB%9C%E6%9D%83%E9%99%90/" class="post-image">
      <img   class="lazyload" data-original="/xiwu_see/images/theme/theme-iOS-6.jpg" src=""  draggable="false">
    </a>
    <div class="post-content">
      <div class="post-content-wrap">
        <h3 class="post-title"><a href="/xiwu_see/2019/05/30/iOS/%E7%BD%91%E7%BB%9C%E6%9D%83%E9%99%90/" title="iOS10以上新机首次安装app，请求网络权限" >iOS10以上新机首次安装app，请求网络权限</a></h3>
        <div class="post-excerpt">
          <p class="substr-3">###引言iOS10以上iphone在使用app时会出现请求网络权限的提示，这功能只满足下列条件时才会出现：1.国行版本的iPhone手机2.系统版本在iOS10及以上3.首次安装一个App时,...</p>
        </div>
      </div>
      <div class="post-info">
        <span class="post-info-item"><i class="iconfont iconcalendar"></i>May 30, 2019</span>
        
        <span class="post-info-item"><i class="iconfont iconfont-size"></i>738</span>
      </div>
    </div>
  </div>
</div>

  
    

<div class="col-lg-4 col-md-6 col-sm-12 post-item">
  <div class="post-wrap">
    
      <div class="post-top"><div>置顶</div></div>
    
    <a href="/xiwu_see/2019/05/28/%E6%97%85%E6%B8%B8/%E6%A1%82%E6%9E%97/" class="post-image">
      <img   class="lazyload" data-original="/xiwu_see/images/theme/theme-travel-1.jpeg" src=""  draggable="false">
    </a>
    <div class="post-content">
      <div class="post-content-wrap">
        <h3 class="post-title"><a href="/xiwu_see/2019/05/28/%E6%97%85%E6%B8%B8/%E6%A1%82%E6%9E%97/" title="足迹在桂林山水" >足迹在桂林山水</a></h3>
        <div class="post-excerpt">
          <p class="substr-3">2018年的3月，晨曦微微，惠风和畅，空气里也散发着生机与湿润的味道！我有幸跟着部门一起去广西桂林度过一个偷得浮生半日闲的周末。我们和导游说好在深圳北站集合，我向来是一个比较懒散的人，想着能卡点...</p>
        </div>
      </div>
      <div class="post-info">
        <span class="post-info-item"><i class="iconfont iconcalendar"></i>May 28, 2019</span>
        
        <span class="post-info-item"><i class="iconfont iconfont-size"></i>2040</span>
      </div>
    </div>
  </div>
</div>

  
    

<div class="col-lg-4 col-md-6 col-sm-12 post-item">
  <div class="post-wrap">
    
      <div class="post-top"><div>置顶</div></div>
    
    <a href="/xiwu_see/2019/05/27/%E6%97%85%E6%B8%B8/%E9%87%91%E9%99%B5/" class="post-image">
      <img   class="lazyload" data-original="/xiwu_see/images/theme/theme-travel-2.jpeg" src=""  draggable="false">
    </a>
    <div class="post-content">
      <div class="post-content-wrap">
        <h3 class="post-title"><a href="/xiwu_see/2019/05/27/%E6%97%85%E6%B8%B8/%E9%87%91%E9%99%B5/" title="六朝古都，金陵遗梦" >六朝古都，金陵遗梦</a></h3>
        <div class="post-excerpt">
          <p class="substr-3">2016年金色灿烂的秋光里，因为一个扬州宝应县的同学要结婚了，所以趁着这个机会去游览了古都名城—南京。当时我还在深圳，从广东省到江苏省，那么远的距离就只能选择飞机这一交通工具了。记得当时是端午佳...</p>
        </div>
      </div>
      <div class="post-info">
        <span class="post-info-item"><i class="iconfont iconcalendar"></i>May 27, 2019</span>
        
        <span class="post-info-item"><i class="iconfont iconfont-size"></i>2427</span>
      </div>
    </div>
  </div>
</div>

  
    

<div class="col-lg-4 col-md-6 col-sm-12 post-item">
  <div class="post-wrap">
    
    <a href="/xiwu_see/2019/05/25/Java/a-stupid-bug/" class="post-image">
      <img   class="lazyload" data-original="/xiwu_see/images/theme/theme-java-1.jpeg" src=""  draggable="false">
    </a>
    <div class="post-content">
      <div class="post-content-wrap">
        <h3 class="post-title"><a href="/xiwu_see/2019/05/25/Java/a-stupid-bug/" title="记一个折磨了我一天半的 Bug" >记一个折磨了我一天半的 Bug</a></h3>
        <div class="post-excerpt">
          <p class="substr-3">最近开始学习后台开发，虽然与我以前从事的 Android 开发一样都是使用 Java 语言，但是技术栈完全不同，有太多的必备的「新」概念要去学习，而在对它们，以及别人写的代码有充分的了解之前，就...</p>
        </div>
      </div>
      <div class="post-info">
        <span class="post-info-item"><i class="iconfont iconcalendar"></i>May 25, 2019</span>
        
        <span class="post-info-item"><i class="iconfont iconfont-size"></i>1592</span>
      </div>
    </div>
  </div>
</div>

  
    

<div class="col-lg-4 col-md-6 col-sm-12 post-item">
  <div class="post-wrap">
    
    <a href="/xiwu_see/2018/09/06/Markdown/markdown-intro/" class="post-image">
      <img   class="lazyload" data-original="/xiwu_see/images/theme/theme-markdown-1.jpeg" src=""  draggable="false">
    </a>
    <div class="post-content">
      <div class="post-content-wrap">
        <h3 class="post-title"><a href="/xiwu_see/2018/09/06/Markdown/markdown-intro/" title="一份简明的 Markdown 笔记与教程" >一份简明的 Markdown 笔记与教程</a></h3>
        <div class="post-excerpt">
          <p class="substr-3">为部门内知识分享准备的素材，记录了 Markdown 的优点、应用场景和编辑工具，介绍了标准语法与扩展语法，以及一些应用 Markdown 的奇技淫巧。个人使用 Markdown 的经验持续补充...</p>
        </div>
      </div>
      <div class="post-info">
        <span class="post-info-item"><i class="iconfont iconcalendar"></i>September 06, 2018</span>
        
        <span class="post-info-item"><i class="iconfont iconfont-size"></i>9088</span>
      </div>
    </div>
  </div>
</div>

  
    

<div class="col-lg-4 col-md-6 col-sm-12 post-item">
  <div class="post-wrap">
    
    <a href="/xiwu_see/2017/12/03/Andriod/tcp-connect-between-android-emulators/" class="post-image">
      <img   class="lazyload" data-original="/xiwu_see/images/theme/theme-andriod-3.jpeg" src=""  draggable="false">
    </a>
    <div class="post-content">
      <div class="post-content-wrap">
        <h3 class="post-title"><a href="/xiwu_see/2017/12/03/Andriod/tcp-connect-between-android-emulators/" title="解决两个 Android 模拟器之间无法网络通信的问题" >解决两个 Android 模拟器之间无法网络通信的问题</a></h3>
        <div class="post-excerpt">
          <p class="substr-3">本文解决的是一个小众场景的问题：
出差在外，需要调试局域网内的两台 Android 设备之间通过 TCP 通信的情况，可手边又不是随时有多台可用的设备，于是想在笔记本上同时跑两台 Android...</p>
        </div>
      </div>
      <div class="post-info">
        <span class="post-info-item"><i class="iconfont iconcalendar"></i>December 03, 2017</span>
        
        <span class="post-info-item"><i class="iconfont iconfont-size"></i>2116</span>
      </div>
    </div>
  </div>
</div>

  
    

<div class="col-lg-4 col-md-6 col-sm-12 post-item">
  <div class="post-wrap">
    
    <a href="/xiwu_see/2017/11/12/Andriod/start-from-toast/" class="post-image">
      <img   class="lazyload" data-original="/xiwu_see/images/theme/theme-andriod-2.jpeg" src=""  draggable="false">
    </a>
    <div class="post-content">
      <div class="post-content-wrap">
        <h3 class="post-title"><a href="/xiwu_see/2017/11/12/Andriod/start-from-toast/" title="Android 源码分析 —— 从 Toast 出发" >Android 源码分析 —— 从 Toast 出发</a></h3>
        <div class="post-excerpt">
          <p class="substr-3">本系列文章在 https://github.com/mzlogin/rtfsc-android 持续更新中，欢迎有兴趣的童鞋们关注。

（图 from Android Developers）
T...</p>
        </div>
      </div>
      <div class="post-info">
        <span class="post-info-item"><i class="iconfont iconcalendar"></i>November 12, 2017</span>
        
        <span class="post-info-item"><i class="iconfont iconfont-size"></i>26095</span>
      </div>
    </div>
  </div>
</div>

  
</section>
    <section class="paginator">
  
    <a class="extend prev" rel="prev" href="/xiwu_see/">&lt;</a><a class="page-number" href="/xiwu_see/">1</a><span class="page-number current">2</span><a class="page-number" href="/xiwu_see/page/3/">3</a><a class="page-number" href="/xiwu_see/page/4/">4</a><a class="extend next" rel="next" href="/xiwu_see/page/3/">&gt;</a>
  
</section>
  </div>
</main>
  

<footer class="footer">
  <div class="footer-social"><a 
        href="tencent://message/?Menu=yes&uin=756364924 "
        target="_blank"
        class="footer-social-item"
        onMouseOver="this.style.color= '#12B7F5'" 
        onMouseOut="this.style.color='#33333D'">
          <i class="iconfont  iconQQ "></i>
      </a><a 
        href="javascript:; "
        target="_blank"
        class="footer-social-item"
        onMouseOver="this.style.color= '#09BB07'" 
        onMouseOut="this.style.color='#33333D'">
          <i class="iconfont  iconwechat-fill "></i>
      </a><a 
        href="https://github.com/xiwuxisheng "
        target="_blank"
        class="footer-social-item"
        onMouseOver="this.style.color= '#9f7be1'" 
        onMouseOut="this.style.color='#33333D'">
          <i class="iconfont  icongithub-fill "></i>
      </a><a 
        href="756364924@qq.com "
        target="_blank"
        class="footer-social-item"
        onMouseOver="this.style.color=#FF3B00" 
        onMouseOut="this.style.color='#33333D'">
          <i class="iconfont  iconmail"></i>
      </a></div>
  
    <div class="footer-copyright"><p>Powered by <a target="_blank" href="https://hexo.io">习武</a>  |  Theme - <a target="_blank" href="https://xiwu123.gitee.io/xiwu_see">习武的个人博客</a></p></div>
  
</footer>
  
      <div class="fab fab-plus">
    <i class="iconfont iconplus"></i>
  </div>
  
  
  <div class="fab fab-up">
    <i class="iconfont iconcaret-up"></i>
  </div>
  
  
    <div class="scrollbar j-scrollbar">
  <div class="scrollbar-current j-scrollbar-current"></div>
</div>
  
  
    
<script src="/xiwu_see/js/color-mode.js"></script>

  
</body>

<script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>



  
<script src="https://cdn.bootcdn.net/ajax/libs/jquery.lazyload/1.9.1/jquery.lazyload.min.js"></script>




  
<script src="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.js"></script>








<script src="/xiwu_see/js/utils.js"></script>
<script src="/xiwu_see/js/script.js"></script>





  <script>
    (function () {
      var bp = document.createElement('script');
      var curProtocol = window.location.protocol.split(':')[0];
      if (curProtocol === 'https') {
        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
      } else {
        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
      }
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(bp, s);
    })();
  </script>













</html>